/*
MujMail - Simple mail client for J2ME
Copyright (C) 2005 Pavel Machek <pavel@ucw.cz>
Copyright (C) 2006 Nguyen Son Tung <n.sontung@gmail.com>
Copyright (C) 2006 Martin Stefan <martin.stefan@centrum.cz>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */
package mujmail;
//this class is used to define native language for labels, texts, buttons and alerts
//use is as Lang.get(Lang.SOMECONST); to get a string in the appropriate language
public class LangCN extends Lang{

   //the main method of the class, is used to get the appropriate lingual string
	public static String get(short lang_code) {		
				
		switch (lang_code){									

			case EMPTY:
				return "空";
			case FAILED:
				return ".. 失败.";
			case SUCCESS:
				return ".. �??功.";
			case IN:
				return " 在 ";
			case ACTIVE:
				return "激活";
			case INACTIVE:
				return "未激活";
			case MSGIDS_CACHE:
				return "信�?�ID 缓�?";
			case DB_SPACE_LEFT:
				return "剩余数据空间: ";

			case ML_RECIPIENTS:
				return "收件人:";
			case ML_TO:
				return "发�?至:";
			case ML_SUBJECT:
				return "主�?:";
			case ML_BODY:
				return "正文:";
			case ML_FROM:
				return "来自:";
			case ML_ATTACHMENTS:
				return "正文:";
			case ML_SIZE:
				return "大小:";
			case ML_TIME:
				return "时间:";
			case ML_HEADERS_DETAIL:
				return "标�?细节:";
			case ML_ATTCHMENTS_DETAIL:
				return "正文细节:";
			case ML_FILENAME:
				return "文件�?�:";
			case ML_WIDTH:
				return "宽:";
			case ML_HEIGHT:
				return "�?:";


			case AS_ACCOUNTS:
				return "账�?�";						
			case AS_PRIMARY:
				return "主�?";
			case AS_ACTIVATION:
				return "激活�?�?�:";
			case AS_EMAIL:
				return "电�?邮件:";
			case AS_PROTOCOL:
				return "协议:";						
			case AS_SERVER:
				return "服务器:";
			case AS_PORT:
				return "端口:";
			case AS_USR_NAME:
				return "用�?��?�称:";
			case AS_PASS:
				return "密�?:";
			case AS_SSL:
				return "使用SSL";
			case AS_IMAP_MAILBOXES:
				return "用逗号隔开IMAP4邮箱:";
			case AC_ACTIONS:
				return "操作";
			case AC_WRITE_MAIL:
				return "写邮件";
			case AC_RETRIEVE_MAILS:
				return "收邮件";
			case AC_SENDALL:
				return "发�?全�?�";
			case AC_POLLING:
				return "轮询";
			case AC_FORWARD:
				return "转发邮件";
			case AC_CLEAR_DB:
				return "清�?�数据库";
			case AC_DISCONNECT:
				return "断开连接";
			case AC_SERVERS_INBOX_SYNC:
				return "�?�步 w/ servers";

			case UT_UTILS:
				return "设施";						
			case AD_ADDRESSBOOK:
				return "地址簿";
			case AD_CONTACT_INFO:
				return "�?�系信�?�";
			case AD_NAME:
				return "姓�?�:";
			case AD_EMAIL:
				return "电�?邮件:";
			case AD_NOTES:
				return "备注:";					
			case AD_ADDDING_RCPS:
				return "添加收件人";

			case TB_FOLDERS:						
				return "文件夹";
			case TB_INBOX:
				return "收件箱";
			case TB_OUTBOX:
				return "待发�?";
			case TB_DRAFT:
				return "草稿箱";
			case TB_SENTBOX:
				return "已发�?";
			case TB_TRASH:
				return "�?圾邮件";
			case TB_NO_SUBJECT:
				return "<无主�?>";
			case TB_READ_MAILS:
				return "已读邮件";
			case TB_UNREAD_MAILS:
				return "未读邮件";
			case TB_ALL_MAILS:
				return "全�?�邮件";

			case ST_SETTINGS:
				return "设置";
			case ST_SORT_SETTINGS:
				return "�?�类设置";
			case ST_SORT_BY:
				return "�?�类方式:";
			case ST_SORT_TIME:
				return "时间";
			case ST_SORT_SUBJECT:
				return "主�?";
			case ST_SORT_RECIPIENTS:
				return "收件人";
			case ST_SORT_SENDER:
				return "发件人";
			case ST_SORT_SIZE:
				return "大小";
			case ST_SORT_RECORD_ID:
				return "记录ID";
			case ST_SORT_ORDER:
				return "�?�类顺序:";
			case ST_SORT_INCREASE:
				return "升序";
			case ST_SORT_DECREASE:
				return "降序";
			case ST_NOT_SET:
				return "<未设置>";
			case ST_LANG:
				return "语言:";
			case ST_SMTP_AUTH:
				return "SMTP 认�?:";
			case ST_SMTP_AUTH_NEEDED:
				return "需�?认�?";
			case ST_DOWN_WHOLE_MAIL:
				return "总�?�接收整个邮件";
			case ST_DEL_FROM_SERVER:
				return "在收件箱里�?�除邮件�?��?�时�?�除服务器上的";
			case ST_ADD_TO_ADBOOK:
				return "�?�地址簿自动添加�?�系方式";											
			case ST_POLLING_INTERVAL:
				return "轮询时间间隔 (秒):";						
			case ST_TIMEOUT:
				return "通信超时(毫秒):";
			case ST_SIGN:
				return "签�?�:";
			case ST_OTHER:
				return "其他设置:";		
			case ST_POLLING_BEHAVIOUR:
				return "如果轮询�?�新邮件:";
			case ST_POLLING_PLAY_SOUND:
				return "响�?";
			case ST_POLLING_DOWN:
				return "自动下载";
			case ST_DEL_ON_EXIT:
				return "从收件箱�?�除邮件而不需�?确认\"现在�?�除!\"";
			case ST_ML_SMALL_FONT:
				return "用大/小字体查看邮件";
			case ST_TICK_TEXT:
				return "标记长文本";
			case ST_SAFE_MODE:
				return "经济地使用数据库 (不保�?信�?�的正文)";
			case ST_RETR_MAX_MAILS:
				return "每个�?号的最大接收邮件数 (0=无�?�?�):";
			case ST_REPLACE_TABS:
				return "�?�示空格以代替�?�表符";
			case ST_MOVE_TO_TRASH:
				return "将邮件移动�?��?圾邮件";
			case ST_DOWNLOAD_ONLY_NEVER_SEEN:
				return "只接受未读邮件";
			case ST_AUTO_CLEAR_INBOX:
				return "如果剩余数据库空间少于(-1=关)kB时，清�?�收件箱 (-1=关):";
			case ST_RETR_MAX_LINES:
				return "接收邮件的最大行数 (-1=无�?�?�):";

			case ABT_ABOUT:
				return "关于";
			case ABT_TEXT:
				return 
					"mujMail " +MujMail.VERSION+ " (" +String.valueOf(MujMail.BUILD)+ ")\n"	+						
					"\n" +
					"作者:\n" +							
					"Pavel Machek\n" +
					"Martin Stefan\n" +
					"Nguyen Son Tung\n" +														
					"\n" +
					"特�?�感谢:\n"+
					"项目发起人 Petr Spatka\n" +
					"汉化:\n"+
					"杨�?峻\n"+
					"\n" +
					"更多的信�?��?帮助及新�?本，请登录  http://sonimail.googlecode.com \n" +
				//	"�?�时, 如果您有任何问�?�?�意�?, 请按下反�?键给�?�们发�?邮件.\n" +
					"\n";

			case PL_NOTAUTHORIZED:
				return "错误的登录信�?�: ";																	

			case SM_FORWARDED_MESSAGE:
				return "转发邮件";
			case SM_SENDING_ACCOUNT:
				return "从账�?�发�?";

			case BTN_OK:
				return "�?�意";
			case BTN_CANCEL:
				return "取�?";
			case BTN_BACK:
				return "返回";
			case BTN_CLEAR:
				return "清�?�数据库";
			case BTN_SAVE:
				return "保�?";	
			case BTN_EDIT:
				return "编辑";
			case BTN_DELETE:
				return "�?�除";
			case BTN_EXIT:
				return "退出";
			case BTN_SELECT:
				return "选择";

			case BTN_RTV_NEW_MAILS:
				return "接收邮件";

			case BTN_AD_MARK:
				return "标记";
			case BTN_AD_UNMARK:
				return "未标记";
			case BTN_AD_DONE:
				return "完�??";
			case BTN_AD_SEND_MAIL:
				return "发邮件";
			case BTN_AD_ADD_NEW:
				return "添加";
			case BTN_AD_VIEW:
				return "查看";		

			case BTN_TB_VIEW_MESS:
				return "查看邮件";
			case BTN_TB_FORWARD:
				return "Forward";
			case BTN_TB_DEL_NOW:
				return "现在�?�除!";
			case BTN_TB_STOP:
				return "�?�止";
			case BTN_TB_SORT:
				return "�?�类";						

			case BTN_OB_SEND:
				return "发�?这�?";
			case BTN_OB_SENDALL:
				return "发�?全�?�";

			case BTN_TR_RESTORE:
				return "�?原";
			case BTN_TR_RESTORE_NOW:
				return "现在�?原!";

			case BTN_SM_SEND:
				return "现在发�?";						
			case BTN_SM_USE_AB:
				return "插入�?�系方式";						
			case BTN_SM_SEND_LATTER:
				return "延迟发�?";						
			case BTN_SM_SAVE:
				return "保�?";						
			case BTN_SM_BC:
				return "添加抄�?/密�?";
			case BTN_SM_CLEAR:
				return "清除以添内容";
			case BTN_SM_CHOOSE_FROM:
				return "选择发�?账�?�";

			case BTN_AS_NEW:
				return "新�?�?�";
			case BTN_AS_SET_PRIMARY:
				return "设为主�?";

			case BTN_TB_REPLY:
				return "回复";
			case BTN_TB_QUOTED_REPLY:
				return "引用回复";
			case BTN_TB_REPLY_ALL:
				return "全�?�回复";
			case BTN_TB_REDOWNLOAD:
				return "重新下载";

			case BTN_MF_ATTACHMENTS:
				return "Bodyparts";
			case BTN_MF_HEADERS_DETAILS:
				return "标�?细节";
			case BTN_MF_EMAIL_ADDRS:
				return "电�?邮件地址";
			case BTN_MF_DEL_ATTACHMENTS:
				return "�?�除正文�?��?�";							
			case BTN_MF_DETAILS:
				return "细节";
			case BTN_MF_ADD_EMAIL:
				return "保�?地址";
			case BTN_MF_REDOWN_ATTACHMENTS:
				return "重新下载正文�?��?�";

			case BTN_ABT_FEEDBACK:
				return "反�?";

			case ALRT_WAIT:
				return "..请稍等.";
			case ALRT_LOADING:
				return "正在载入 ";
			case ALRT_SAVING:
				return "正在保�? ";
			case ALRT_DELETING:
				return "正在�?�除 ";
			case ALRT_BAD_EMAIL:
				return "无�?邮件格式.";
			case ALRT_SORTING:
				return "正在�?�类 ";
			case ALRT_INITIATING:
				return "正在�?�动 ";
			case ALRT_SYNCHRONIZING:
				return "�?�步收件箱与服务器 ";


			case ALRT_AS_NONEXIST:
				return "账�?�不�?在�?�者未激活";
			case ALRT_AS_NO_ACCOUNT_SET_ACTIVE:
				return "您没有进行账�?�设置�?�者所有账�?�均未激活";
			case ALRT_AS_LOAD:
				return "载入账�?�";
			case ALRT_AS_ALREADY_EXITS:
				return "账�?�已�?在: ";
			case ALRT_AS_SET_DEFAULT_ACCOUNT:
				return "请为接受邮件设立一个账�?�.";

			case ALRT_ST_SAVING:
				return "保�?设置 ";
			case ALRT_ST_LOADING:
				return "载入设置 ";

			case ALRT_SM_NO_RCP:
				return "未指�?�收件人.";										
			case ALRT_SM_CAN_NOT_ATTACH_BODY:
				return "邮件正文为空�?�不�?�添加附件.";

			case ALRT_INPL_NO_LONGER_ON_SERVER: 
				return "此邮件可�?�已不在服务器上 ";
			case ALRT_INPL_CHECK_MAILS:
				return "检查邮件 ";
			case ALRT_INPL_DEL_MAILS:
				return "�?�除邮件 ";
			case ALRT_INPL_DOWN_MAIL:
				return "下载正文 ";
			case ALRT_INPL_NEWMAILS:
				return "新邮件 ";
			case ALRT_INPL_REDOWN_MAIL:
				return "重现下载正文 ";
			case ALRT_INPL_IMAP_CANNOT_SELECT_MAILBOX:				
				return "不�?�选择邮箱";
			case ALRT_INPL_IMAP_UIDVALIDITY_DIFFERS:
				return "邮箱的邮箱性标志有�?化";										
				
			case ALRT_NEW_MAILS:
				return "有新邮件.";
			case ALRT_SYS_BUSY:
				return "�?前任务仍在�?行. ";
			case ALRT_SYS_DEL_ALL_CONFIRM:
				return "您真的�?�清除数据库�?�?";
			case ALRT_SYS_NO_DBSPACE:
				return "设备已无足够空间.";
			case ALRT_SYS_CHECK_COM_SETTINGS:
				return "尝试检查账�?�设置�?�网络连接.";
			case ALRT_SYS_SHUTDOWN_CONFIRM:
				return "�?些任务�?未完�??，您确信退出�?�?";
			case ALRT_SYS_PROCESS_INTERRUPTED:
				return "进程被中断.";
			case ALRT_SYS_EXCEPTION_AROSED:
				return "出现异常.";
			case ALRT_SYS_LOW_MEMORY:
				return "内�?太低";
			case ALRT_SYS_DEL_CONFIRM:
				return "你真的�?��?�除�?� ";

			case ALRT_AD_LOAD:
				return "载入地址簿 ";
			case ALRT_AD_DELETE:
				return "�?�除地址簿 ";

			case ALRT_MF_LOAD_BODY:
				return "载入正文 ";
			case ALRT_MF_VIEW_ATT:
				return "�?�示正文 ";
			case ALRT_MF_NO_TEXT:
				return "此邮件无正文";
			case ALRT_MF_NO_ATTACHMENTS:
				return "此邮件无附件";
			case ALRT_MF_DEL_ATT:
				return "�?�除附件";
			case ALRT_MF_UNSUPPORTED_FORMAT:
				return "邮件不支�?�?�已损坏";	
			case ALRT_MF_SAVE_CNTS:
				return "保�?地址";
			case ALRT_MF_NO_VIEWABLE_BODY:
				return "此邮件无可视的正文";

			case ALRT_PL_CONNECTING:
				return "连接至 ";
			case ALRT_PL_CLOSING:
				return "正在关闭 ";

			case ALRT_SMTP_SENDING:
				return "邮件发�?中 ";	


			case EXP_COM_IN:
				return "100: 从服务器上接受命令 ";
			case EXP_COM_OUT:
				return "100: 从服务器上发�?数据 ";
			case EXP_COM_TIMEOUT:
				return "100: 通信超时 ";
			case EXP_COM_HALTED:
				return "*通信中断";
			case EXP_COM_UNKNOWN:
				return "100: 与服务器通信时发生了未知错误 ";


			case EXP_DB_NOSPACE:
				return "100: 设备已无足够的空间.";
			case EXP_DB_CANNOT_CLEAR:
				return "100: 无法�?�除数据库.";
			case EXP_DB_CANNOT_SAVE_BODY:
				return "100: 无法�?�数据库中保�?邮件正文. ";
			case EXP_DB_CANNOT_UPDATE_HEADER:
				return "100: 无法�?�数据库中更新邮件标�?. ";
			case EXP_DB_CANNOT_SAVE_HEADER:
				return "100: 无法�?�数据库中保�?邮件标�?. ";
			case EXP_DB_CANNOT_DEL_HEADER:
				return "100: 无法从数据库中�?�除邮件标�?. ";
			case EXP_DB_CANNOT_DEL_BODY:
				return "100: 无法从数据库中�?�除邮件正文. ";
			case EXP_DB_CANNOT_DEL_MAIL:
				return "100: 无法从数据库中�?�除邮件. ";
			case EXP_DB_CANNOT_LOAD_BODY:
				return "100: 无法从数据库中载入邮件正文. ";
			case EXP_DB_CANNOT_LOAD_CONTACT: 
				return "100: 无法从数据库中载入�?�系方式. ";				
			case EXP_DB_CANNOT_SAVE_CONTACT:
				return "100: 无法�?�数据库中保�?�?�系方式. ";									    
			case EXP_DB_CANNOT_DEL_CONTACT:
				return "100: 无法从数据库中�?�除�?�系方式. ";									    
			case EXP_DB_CANNOT_LOAD_SETTINGS:
				return "100: 无法从数据库中载入设置.";
			case EXP_DB_CANNOT_SAVE_SETTINGS:
				return "100: 无法�?�数据库中保�?设置.";
			case EXP_DB_CANNOT_LOAD_ACCOUNTS:
				return "100: 无法载入账�?�.";
			case EXP_DB_CANNOT_SAVE_ACCOUNT:
				return "100: 无法保�?账�?�";
			case EXP_DB_CANNOT_DELETE_ACCOUNT:
				return "100: 无法�?�除账�?�.";
			case EXP_DB_CANNOT_OPEN_DB:
				return "100: 无法打开数据库. ";
			case EXP_DB_CANNOT_LOAD_HEADERS:
				return "100: 无法从数据库中载入标�?. ";
			case EXP_DB_CANNOT_CLOSE_DB:
				return "100: 无法关闭数据库. ";
			case EXP_DB_CANNOT_SAVE_MSGID:
				return "100: 无法�?�数据库中保�?信�?�ID.";
			case EXP_DB_CANNOT_LOAD_MSGID:
				return "100: 无法从数据库中载入信�?�ID.";
			case EXP_DB_CANNOT_DEL_MSGID:
				return "100: 无法从数据库中�?�除信�?�ID.";

			case EXP_SYS_OUT_OF_MEMORY: 
				return "100: RAM 内�?不住.";
			case EXP_SYS_IMAGE_FAILED:
				return "100: 载入图片失败.";

			case EXP_PROTOCOL_CANNOT_CONNECT:
				return "200: 无法连接�?�服务器. ";
			case EXP_PROTOCOL_CANNOT_RETRIEVE_BODY:
				return "200: 无法接收邮件正文. ";					    
			case EXP_PROTOCOL_COMMAND_NOT_EXECUTED:
				return "协议命令未�?�正确执行.";
			case EXP_PROTOCOL_CANNOT_DELETE_MAILS:
				return "200: 无法�?�除选择的邮件. ";

			case EXP_VARIOUS_BAD_EMAIL:
				return "300: 错误的邮件格式.";
			case EXP_VARIOUS_AB_MULTIPLE_ENTRIES:
				return "300: 邮件已�?在于地址簿.";
			case EXP_VARIOUS_DECODE_ILLEGAL_MIME:
				return "100: 邮件包�?�非法 MIME 字符.";	

		}		
				
		return LangExtra_CN.getExtra(lang_code);//"语言�? "+lang_code+" 未定义.";
		
	}								

}
